package springboot1706.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import springboot1706.bean.Goods;

public interface GoodsMapper {
	public List<Goods> getGoodById(Goods goods);

	public List<Goods> getAll();

	public List<Goods> getGoodByName(Goods goods);

	public int delete(Goods goods);

	public int update(Goods goods);

	public int insert(Goods goods);
	
	public int more(@Param("name")String name);
}
